package cn.smbms.pojo;

import java.util.Date;

public class Role {
	private Integer id;// 主键ID
	private String roleCode;// 角色编码
	private String roleName;// 角色名称
	private Integer createdBy;// 创建者
	private Date creationDate;// 创建时间
	private Integer modifyBy;// 修改者
	private Date modifyDate;// 修改时间

	public Role() {
		super();
	}

	public Role(String roleCode, String roleName, Integer createdBy) {
		super();
		this.roleCode = roleCode;
		this.roleName = roleName;
		this.createdBy = createdBy;
	}

	public Role(Integer id, String roleCode, String roleName, Integer modifyBy) {
		super();
		this.id = id;
		this.roleCode = roleCode;
		this.roleName = roleName;
		this.modifyBy = modifyBy;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getRoleCode() {
		return roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Integer getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(Integer createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	public Integer getModifyBy() {
		return modifyBy;
	}

	public void setModifyBy(Integer modifyBy) {
		this.modifyBy = modifyBy;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	@Override
	public String toString() {
		return "Role [id=" + id + ", roleCode=" + roleCode + ", roleName=" + roleName + ", createdBy=" + createdBy
				+ ", creationDate=" + creationDate + ", modifyBy=" + modifyBy + ", modifyDate=" + modifyDate + "]";
	}
}
